package com.thinkingstar.iads.cs.sys.entity;

import com.thinkingstar.iads.common.entity.AbstractEntites;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nutz.dao.entity.annotation.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("数据中心_人员定责表")
@Table(value="DC_PERSONAL_SPECIALITY_REL")
@PK( {"PersonID", "authorityId"} )
public class PersonalSpecialityRel extends AbstractEntites {

    private static final long serialVersionUID=1L;
    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    @Comment("用户编号")
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String PersonID;

    @Comment("权限id")
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String authorityId;

    @Comment("设计内容编号")
    @Column
    @ColDefine(type = ColType.INT,width = 10)
    private String ItemID ;

    @Comment("类别编号")
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String categoryID;

    @Comment("专业编号")
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 100)
    private String SpecialityID;


    @Comment("备注")
    @Column
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String Remark ;

}
